package com.atguigu.staservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 统计分析服务启动类
 * @author daygods
 * @since 2025-07-14
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling
@ComponentScan(basePackages = {"com.atguigu"})
public class StatisticsApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(StatisticsApplication.class, args);
    }
}